package com.activiti.flow.model.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Map;

/**
 * @author pisory
 * @version 1.0
 * @date 2020/4/6
 */
@Data
public class ProcessInstanceVO extends ProcessDefinitionVO{

    @ApiModelProperty(name = "用户ID", example = "pisory")
    private String userId;

    @ApiModelProperty(name = "用户名称", example = "大大")
    private String userName;

    @ApiModelProperty(name = "流程实例ID", example = "7505")
    private String processInstanceId;

    @ApiModelProperty(name = "流程执行ID", example = "7505")
    private String executionId;

    private boolean isNeedContinuityApproval = false;

    @ApiModelProperty(name = "流程变量", example = "")
    private Map<String, Object> variables;

    @ApiModelProperty(name = "备注", example = "这是流程备注")
    private String description;

    @ApiModelProperty(name = "流程审批状态码", example = "pass")
    private String approveCode;

    @ApiModelProperty(name = "流程审批意见", example = "同意休假")
    private String approveComment;

    @ApiModelProperty(name = "流程审批附件名称", example = "")
    private String approveAttachmentName;

    @ApiModelProperty(name = "流程审批附件链接", example = "http:www.baidu.com/test.pdf")
    private String approveAttachmentLink;
}
